<template>
    <div>
		<div>
			<img :src="stuziliao.headimgurl ? stuziliao.headimgurl:thimg" alt="">
		</div>

		<!-- <div>
			<h1>学员资料</h1>
		</div> -->

		<div>
			<el-descriptions title="学员资料" direction="vertical" :column="3" border>
				<el-descriptions-item label="sld">{{this.stuziliao.sId}} </el-descriptions-item>
				<el-descriptions-item label="姓名"> {{this.stuziliao.name}}</el-descriptions-item>
				<el-descriptions-item label="年龄" >{{this.stuziliao.age}} </el-descriptions-item>

				<el-descriptions-item label="班级">{{this.stuziliao.class}}</el-descriptions-item>
				<el-descriptions-item label="学历">{{this.stuziliao.degree}}</el-descriptions-item>
				<el-descriptions-item label="项目地址" >{{this.stuziliao.productUrl}}</el-descriptions-item>

				<el-descriptions-item label="描述">{{this.stuziliao.description}}</el-descriptions-item>
				<el-descriptions-item label="城市">{{this.stuziliao.city}}</el-descriptions-item>
				<el-descriptions-item label="创建时间" >{{this.stuziliao.cTime}}</el-descriptions-item>
				
				</el-descriptions>
		</div>


		<div>
			<el-button type="primary" @click="fanlie">点击返回列表</el-button>
		</div>
	</div>
</template>
<script>
import { mapState } from 'vuex';
	export default {
		mounted(){
			console.log('接收到的--',this.stuziliao);
		},


		meta: {
			title: "xyzl",
			name: '学员资料',
			icon: "iconfont icon-shuju1",
		},

		data(){
			return{
				locaday:[],
				thimg:"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
			}
		},

		methods:{
			fanlie(){
				this.$router.push('/studentmanager/studentproduct')
			}
		},

		computed:{
			...mapState('stumess',['stuziliao'])
		}
	};
</script>

<style lang="less" scoped>
img{
	width: 200px;
	height: 200px;
}
</style>